﻿using System;
using System.Collections.Generic;

namespace Rj.PersonnelVerification.Server.DataBaseContext.Entities
{
    /// <summary>
    /// 手术申请信息日志
    /// </summary>
    public partial class ApplyTbOperationInfoLog
    {
        /// <summary>
        /// id
        /// </summary>
        public long Id { get; set; }
        /// <summary>
        /// 手术申请id
        /// </summary>
        public long OperationId { get; set; }
        /// <summary>
        /// 住院流水号/挂号流水号
        /// </summary>
        public int RegNo { get; set; }
        /// <summary>
        /// 患者ID
        /// </summary>
        public int PatId { get; set; }
        /// <summary>
        /// 来源 0:门诊 1：住院
        /// </summary>
        public string Source { get; set; } = null!;
        /// <summary>
        /// 门诊号
        /// </summary>
        public string? OutPatientNo { get; set; }
        /// <summary>
        /// 住院号
        /// </summary>
        public string? HospNo { get; set; }
        /// <summary>
        /// 姓名
        /// </summary>
        public string? PatName { get; set; }
        /// <summary>
        /// 性别
        /// </summary>
        public int? Sex { get; set; }
        /// <summary>
        /// 性别名称
        /// </summary>
        public string? SexName { get; set; }
        /// <summary>
        /// 床号
        /// </summary>
        public string? BedNo { get; set; }
        /// <summary>
        /// 术前诊断编码
        /// </summary>
        public string? ClinicDiag { get; set; }
        /// <summary>
        /// 术前诊断名称
        /// </summary>
        public string? ClinicDiagName { get; set; }
        /// <summary>
        /// 手术名称
        /// </summary>
        public string? OperationName { get; set; }
        /// <summary>
        /// 手术代码
        /// </summary>
        public string? OperationCode { get; set; }
        /// <summary>
        /// 手术名称前缀
        /// </summary>
        public string? OperationPrefixName { get; set; }
        /// <summary>
        /// 手术名称后缀
        /// </summary>
        public string? OperationSuffixName { get; set; }
        /// <summary>
        /// 手术备注名称
        /// </summary>
        public string? OperationRemark { get; set; }
        /// <summary>
        /// 手术级别 DRJCM029
        /// </summary>
        public string? OperationLevel { get; set; }
        /// <summary>
        /// 手术分类 DRJCM028
        /// </summary>
        public string? OperationClass { get; set; }
        /// <summary>
        /// 手术部位1 DRJCM022
        /// </summary>
        public string? OperativeSiteOne { get; set; }
        /// <summary>
        /// 手术部位2 DRJCM022
        /// </summary>
        public string? OperativeSiteTwo { get; set; }
        /// <summary>
        /// 切口类型 DRJCM034
        /// </summary>
        public string? CutType { get; set; }
        /// <summary>
        /// 手术体位 DRJCM035
        /// </summary>
        public string? OperativePosition { get; set; }
        /// <summary>
        /// 附加手术名称1
        /// </summary>
        public string? AddOperationNameA { get; set; }
        /// <summary>
        /// 附加手术名称1前缀
        /// </summary>
        public string? AddOperationPrefixNameA { get; set; }
        /// <summary>
        /// 附加手术名称1后缀
        /// </summary>
        public string? AddOperationSuffixNameA { get; set; }
        /// <summary>
        /// 附加手术代码1
        /// </summary>
        public string? AddOperationCodeA { get; set; }
        /// <summary>
        /// 附加手术级别1 DRJCM029
        /// </summary>
        public string? AddOperationLevelA { get; set; }
        /// <summary>
        /// 附加手术名称2
        /// </summary>
        public string? AddOperationNameB { get; set; }
        /// <summary>
        /// 附加手术名称2前缀
        /// </summary>
        public string? AddOperationPrefixNameB { get; set; }
        /// <summary>
        /// 附加手术名称2后缀
        /// </summary>
        public string? AddOperationSuffixNameB { get; set; }
        /// <summary>
        /// 附加手术代码2
        /// </summary>
        public string? AddOperationCodeB { get; set; }
        /// <summary>
        /// 附加手术级别2 DRJCM029
        /// </summary>
        public string? AddOperationLevelB { get; set; }
        /// <summary>
        /// 附加手术名称3
        /// </summary>
        public string? AddOperationNameC { get; set; }
        /// <summary>
        /// 附加手术名称3前缀
        /// </summary>
        public string? AddOperationPrefixNameC { get; set; }
        /// <summary>
        /// 附加手术名称3后缀
        /// </summary>
        public string? AddOperationSuffixNameC { get; set; }
        /// <summary>
        /// 附加手术代码3
        /// </summary>
        public string? AddOperationCodeC { get; set; }
        /// <summary>
        /// 附加手术级别3 DRJCM029
        /// </summary>
        public string? AddOperationLevelC { get; set; }
        /// <summary>
        /// 主刀医生编码
        /// </summary>
        public string? ChiefDoctor { get; set; }
        /// <summary>
        /// 主刀医生名称
        /// </summary>
        public string? ChiefDoctorName { get; set; }
        /// <summary>
        /// 主刀医生科室 多个拼接
        /// </summary>
        public string? ChiefDept { get; set; }
        /// <summary>
        /// 主刀医生联系方式
        /// </summary>
        public string? ChiefDoctorContact { get; set; }
        /// <summary>
        /// 一助
        /// </summary>
        public int? AssistantA { get; set; }
        /// <summary>
        /// 二助
        /// </summary>
        public int? AssistantB { get; set; }
        /// <summary>
        /// 三助
        /// </summary>
        public int? AssistantC { get; set; }
        /// <summary>
        /// 外院专家
        /// </summary>
        public string? ExternalExperts { get; set; }
        /// <summary>
        /// 实习进修
        /// </summary>
        public string? Trainee { get; set; }
        /// <summary>
        /// 参观人员
        /// </summary>
        public string? Visitor { get; set; }
        /// <summary>
        /// 申请科室
        /// </summary>
        public string? ApplyDept { get; set; }
        /// <summary>
        /// 申请科室名称
        /// </summary>
        public string? ApplyDeptName { get; set; }
        /// <summary>
        /// 申请病区
        /// </summary>
        public string? ApplyWard { get; set; }
        /// <summary>
        /// 申请病区名称
        /// </summary>
        public string? ApplyWardName { get; set; }
        /// <summary>
        /// 申请人
        /// </summary>
        public int? ApplyUserId { get; set; }
        /// <summary>
        /// 申请人姓名
        /// </summary>
        public string? ApplyUserName { get; set; }
        /// <summary>
        /// 计划手术室
        /// </summary>
        public int? PlanOperRoom { get; set; }
        /// <summary>
        /// 手术排班特殊要求 DRJCM036
        /// </summary>
        public string? ScheduleSpecial { get; set; }
        /// <summary>
        /// 手术时限 DRJCM037
        /// </summary>
        public string? OperationTimeLimit { get; set; }
        /// <summary>
        /// 计划手术日期
        /// </summary>
        public DateTime? PlanOperDate { get; set; }
        /// <summary>
        /// 开始时间
        /// </summary>
        public TimeSpan? BeginTime { get; set; }
        /// <summary>
        /// 预计时长
        /// </summary>
        public decimal? EstimatedDuration { get; set; }
        /// <summary>
        /// 预计时长单位 DRJCM038
        /// </summary>
        public string? EstimatedDurationUnit { get; set; }
        /// <summary>
        /// 计划台次
        /// </summary>
        public string? PlanOperatingTable { get; set; }
        /// <summary>
        /// 台次类型
        /// </summary>
        public string? OperatingTableType { get; set; }
        /// <summary>
        /// 组别
        /// </summary>
        public string? GroupNo { get; set; }
        /// <summary>
        /// 手术序号
        /// </summary>
        public int? OperatingSerial { get; set; }
        /// <summary>
        /// 过敏史
        /// </summary>
        public string? AllergyHistory { get; set; }
        /// <summary>
        /// 麻醉科室
        /// </summary>
        public string? AnesDept { get; set; }
        /// <summary>
        /// 麻醉科室名称
        /// </summary>
        public string? AnesDeptName { get; set; }
        /// <summary>
        /// 拟施麻醉DRJCM039
        /// </summary>
        public string? Anesthesia { get; set; }
        /// <summary>
        /// 运送方式 DRJCM040
        /// </summary>
        public string? TransportMode { get; set; }
        /// <summary>
        /// 手术类型 DRJCM041
        /// </summary>
        public string? OperationType { get; set; }
        /// <summary>
        /// 入室带管 DRJCM017
        /// </summary>
        public string? EntryPipeType { get; set; }
        /// <summary>
        /// 特殊用物 DRJCM017
        /// </summary>
        public string? SpecialUsedType { get; set; }
        /// <summary>
        /// 是否麻醉会诊 DRJCM030
        /// </summary>
        public string? AnesConsFlag { get; set; }
        /// <summary>
        /// 是否备血 DRJCM030
        /// </summary>
        public string? BloodFlag { get; set; }
        /// <summary>
        /// 是否体外循环
        /// </summary>
        public string? ExtrCircFlag { get; set; }
        /// <summary>
        /// 手术首放体位 DRJCM035
        /// </summary>
        public string? OperPosMain { get; set; }
        /// <summary>
        /// 手术再放体位 DRJCM035
        /// </summary>
        public string? OperPosSecondary { get; set; }
        /// <summary>
        /// 隔离类型
        /// </summary>
        public string? IsolationType { get; set; }
        /// <summary>
        /// 特殊要求
        /// </summary>
        public string? SpecialRequest { get; set; }
        /// <summary>
        /// 特殊器械
        /// </summary>
        public string? SpecialInstruments { get; set; }
        /// <summary>
        /// 高值耗材
        /// </summary>
        public string? Material { get; set; }
        /// <summary>
        /// 手术依据
        /// </summary>
        public string? OperationBasis { get; set; }
        /// <summary>
        /// 病人情况简述
        /// </summary>
        public string? Description { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string? Remark { get; set; }
        /// <summary>
        /// ABO血型
        /// </summary>
        public string? Abo { get; set; }
        /// <summary>
        /// Rh血型
        /// </summary>
        public string? Rh { get; set; }
        /// <summary>
        /// HbsAg
        /// </summary>
        public string? HbsAg { get; set; }
        /// <summary>
        /// HcvAb
        /// </summary>
        public string? HcvAb { get; set; }
        /// <summary>
        /// HivAb
        /// </summary>
        public string? HivAb { get; set; }
        /// <summary>
        /// Tp-Ab
        /// </summary>
        public string? TpAb { get; set; }
        /// <summary>
        /// 审核状态
        /// </summary>
        public int? Status { get; set; }
        /// <summary>
        /// 申请单状态
        /// </summary>
        public string? ApplyStatus { get; set; }
        /// <summary>
        /// 申请时间
        /// </summary>
        public DateTime? ApplyTime { get; set; }
        /// <summary>
        /// 手术日期
        /// </summary>
        public DateTime? OperateDate { get; set; }
        /// <summary>
        /// 手术间
        /// </summary>
        public string? OperatingRoom { get; set; }
        /// <summary>
        /// 台次
        /// </summary>
        public string? OperatingTable { get; set; }
        /// <summary>
        /// 医院编码
        /// </summary>
        public int HospitalId { get; set; }
        /// <summary>
        /// 操作人ID
        /// </summary>
        public int? Opter { get; set; }
        /// <summary>
        /// 操作时间
        /// </summary>
        public DateTime? Optime { get; set; }
        /// <summary>
        /// 操作描述
        /// </summary>
        public string? OpDescripton { get; set; }
        public int? IsUrgent { get; set; }
    }
}
